//
//  WYFoodCell.m
//  Boss
//
//  Created by admin on 2018/6/25.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYFoodCell.h"
@interface WYFoodCell()
@property (strong, nonatomic) IBOutlet UIImageView *companyImageView;
@property (strong, nonatomic) IBOutlet UILabel *companyName;

@property (strong, nonatomic) IBOutlet UILabel *companyCount;
@property (strong, nonatomic) IBOutlet UILabel *companyPro;
@property (strong, nonatomic) IBOutlet UILabel *priceLabel;

@property (strong, nonatomic) IBOutlet UILabel *personLabel;


@end
@implementation WYFoodCell


-(void)setBusiness:(WYBusinessColect *)business
{
    _business = business;
    self.companyName.text = business.businessName;
    self.companyCount.text = [NSString stringWithFormat:@"店铺数量：%@",business.shopNum];
    self.companyPro.text = [NSString stringWithFormat:@"主营业务：%@",business.profession];
    self.priceLabel.text = business.investmentAmounts;
    self.personLabel.text = [NSString stringWithFormat:@"%@人申请",business.count];
    [self.companyImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@!default",business.url]]];
    
    
    
    
}





- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
